import { configureStore } from "@reduxjs/toolkit";

import countReducer from "./modules/countStore"
import channelReducer from "./modules/channelStore";

// 创建根store组合子模块
const store = configureStore({
    reducer: {
        counter:countReducer,
        channel:channelReducer
    }
})

export default store;